<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="org.json.simple.JSONArray"%>
<%@page import="org.json.simple.JSONObject"%>
<%@page import="org.json.simple.JSONValue"%>
<%
	String s = request.getParameter("addEvent");
	
	Object obj = JSONValue.parseWithException(s);
	System.out.println(((JSONObject)obj).get("id"));
	
	JSONObject result = new JSONObject();
	result.put("sendResult", "123456");

	out.println(result.toJSONString());
%>